package com.elective.courseselect.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author lee
 * @date 2022年03月18日 23:07
 */
@AllArgsConstructor
@Getter
public enum CourseType {

    MUST(0,"必修"),
    CHOOSE(1,"选修"),
    ;

    @EnumValue
    private final int code;
    private final String desc;

}
